{% extends "PopshouseAdminBundle::layout.html.twig" %}
{% block title %}
Link wijzigen
{% endblock %}
{% block content %}
<div class="left side">
    {% include "PopshouseAdminBundle:Link:menu.html.twig"  %}
</div>
<div class="left content" style="width:670px">

<h2>Link wijzigen</h2>
<form action="#" method="post" {{ form_enctype(form) }}>
            {% form_theme form 'PopshouseSiteBundle::form.html.twig' %}
            {{ form_errors(form) }}
            
            <dl>
                <dt>Afbeelding</dt>
                <dd><img src="{{ asset('images/photo/links/'~link.id~'.jpg') }}" /></dd>
                {% include "PopshouseAdminBundle:Link:form.html.twig" %}
                
            </dl>
        
        
            {{ form_rest(form) }}
            <input type="submit" value="Wijzigen" />
        </form>
        </div>
{% endblock %}